package com.weishi.pay.api.service;


import com.weishiinfo.commons.exception.RawErrorCodeException;

/**
 * Class_Name: RocketMqService
 * Package: com.weishinfo.center.user.rpc.api
 * Describer: RocketMQ服务接口
 *
 * @author lifueng
 * @date 2018/7/28 15:15
 **/
public interface RocketMqService {

    /**
     * 发送消息
     *
     * @param topic topic
     * @param tag   tag
     * @param body  body
     * @throws PayCenterException PayCenterException
     */
    void sendMsg(String topic, String tag, String body) throws RawErrorCodeException;
}
